
class CalPanelR extends Panel {//右容器  
	    CalButton bSqrt, bSin, bCos, bYx,
	              bAdd, bSub, bMul, bDiv,
	              bInt, bEqual, bCE, bBack;
	    CalPanelR()
		{
	      setLayout(new GridLayout(4,3));
	      setFont(new Font("TimesRoman",Font.BOLD,16));
	      bDiv = new CalButton("/");
	      bAdd = new CalButton("+");
	      bSub = new CalButton("-");
	      bMul = new CalButton("*");
	      bSqrt = new CalButton("√"); 
	      bSin = new CalButton("sin");   
	      bCos = new CalButton("cos");   
	      bYx = new CalButton("y^x");    
	      bInt = new CalButton("int");
	      bEqual = new CalButton("=");   
	      bCE = new CalButton("CE");     
	      bBack = new CalButton("1/x");   //将按钮加到容器中